<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd          
    					http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd">

    <dubbo:application name="${r"${app.name}"}" logger="slf4j"/>
    <dubbo:provider filter="providerServiceFilter" />
    <dubbo:consumer filter="consumerServiceFilter" />
    <!-- 使用zookeeper注册中心暴露服务地址 -->
    <dubbo:registry protocol="${r"${dubbo.registry.protocol}"}" address="${r"${dubbo.registry.address}"}" />
    <!-- 用dubbo协议暴露服务的端口 -->
    <dubbo:protocol name="${r"${dubbo.protocol.name}"}" port="${r"${dubbo.protocol.port}"}" accesslog="true" />
</beans>